package com.example.user.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("u_address")
public class AddressPO extends BasePO{
    private Long id;

    @TableField(value = "user_id")
    private Long userId;

    private String name;

    private String mobile;

    private String province;

    private String city;

    private String area;

    private String address;

    private int status;

    @TableField(value = "default_address")
    private int defaultAddress;
}
